webpackJsonp([167],{

/***/ 1842:
/***/ (function(module, exports) {

module.exports = {
  "content": [
    "section",
    [
      "p",
      "采用分页的形式分隔长列表，每次只加载一个页面。"
    ],
    [
      "h2",
      "何时使用"
    ],
    [
      "ul",
      [
        "li",
        [
          "p",
          "当加载/渲染所有数据将花费很多时间时；"
        ]
      ],
      [
        "li",
        [
          "p",
          "可切换页码浏览数据。"
        ]
      ]
    ]
  ],
  "meta": {
    "category": "Components",
    "subtitle": "分页",
    "type": "Navigation",
    "title": "Pagination",
    "cols": 1,
    "filename": "components/pagination/index.zh-CN.md"
  },
  "toc": [
    "ul",
    [
      "li",
      [
        "a",
        {
          "className": "bisheng-toc-h2",
          "href": "#何时使用",
          "title": "何时使用"
        },
        "何时使用"
      ]
    ],
    [
      "li",
      [
        "a",
        {
          "className": "bisheng-toc-h2",
          "href": "#API",
          "title": "API"
        },
        "API"
      ]
    ]
  ],
  "api": [
    "section",
    [
      "h2",
      "API"
    ],
    [
      "pre",
      {
        "lang": "html",
        "highlighted": "<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;</span>Pagination</span> <span class=\"token attr-name\">onChange</span><span class=\"token attr-value\"><span class=\"token punctuation\">=</span>{onChange}</span> <span class=\"token attr-name\">total</span><span class=\"token attr-value\"><span class=\"token punctuation\">=</span>{50}</span> <span class=\"token punctuation\">/></span></span>"
      },
      [
        "code",
        "<Pagination onChange={onChange} total={50} />"
      ]
    ],
    [
      "table",
      [
        "thead",
        [
          "tr",
          [
            "th",
            "参数"
          ],
          [
            "th",
            "说明"
          ],
          [
            "th",
            "类型"
          ],
          [
            "th",
            "默认值"
          ]
        ]
      ],
      [
        "tbody",
        [
          "tr",
          [
            "td",
            "current"
          ],
          [
            "td",
            "当前页数"
          ],
          [
            "td",
            "number"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "defaultCurrent"
          ],
          [
            "td",
            "默认的当前页数"
          ],
          [
            "td",
            "number"
          ],
          [
            "td",
            "1"
          ]
        ],
        [
          "tr",
          [
            "td",
            "defaultPageSize"
          ],
          [
            "td",
            "默认的每页条数"
          ],
          [
            "td",
            "number"
          ],
          [
            "td",
            "10"
          ]
        ],
        [
          "tr",
          [
            "td",
            "hideOnSinglePage"
          ],
          [
            "td",
            "只有一页时是否隐藏分页器"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "false"
          ]
        ],
        [
          "tr",
          [
            "td",
            "itemRender"
          ],
          [
            "td",
            "用于自定义页码的结构，可用于优化 SEO"
          ],
          [
            "td",
            "(page, type: 'page' ",
            "|",
            " 'prev' ",
            "|",
            " 'next', originalElement) => React.ReactNode"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "pageSize"
          ],
          [
            "td",
            "每页条数"
          ],
          [
            "td",
            "number"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "pageSizeOptions"
          ],
          [
            "td",
            "指定每页可以显示多少条"
          ],
          [
            "td",
            "string",
            "[",
            "]"
          ],
          [
            "td",
            [
              "span",
              "'10', '20', '30', '40'"
            ]
          ]
        ],
        [
          "tr",
          [
            "td",
            "showQuickJumper"
          ],
          [
            "td",
            "是否可以快速跳转至某页"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "false"
          ]
        ],
        [
          "tr",
          [
            "td",
            "showSizeChanger"
          ],
          [
            "td",
            "是否可以改变 pageSize"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "false"
          ]
        ],
        [
          "tr",
          [
            "td",
            "showTotal"
          ],
          [
            "td",
            "用于显示数据总量和当前数据顺序"
          ],
          [
            "td",
            "Function(total, range)"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "simple"
          ],
          [
            "td",
            "当添加该属性时，显示为简单分页"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "size"
          ],
          [
            "td",
            "当为「small」时，是小尺寸分页"
          ],
          [
            "td",
            "string"
          ],
          [
            "td",
            "\"\""
          ]
        ],
        [
          "tr",
          [
            "td",
            "total"
          ],
          [
            "td",
            "数据总数"
          ],
          [
            "td",
            "number"
          ],
          [
            "td",
            "0"
          ]
        ],
        [
          "tr",
          [
            "td",
            "onChange"
          ],
          [
            "td",
            "页码改变的回调，参数是改变后的页码及每页条数"
          ],
          [
            "td",
            "Function(page, pageSize)"
          ],
          [
            "td",
            "noop"
          ]
        ],
        [
          "tr",
          [
            "td",
            "onShowSizeChange"
          ],
          [
            "td",
            "pageSize 变化的回调"
          ],
          [
            "td",
            "Function(current, size)"
          ],
          [
            "td",
            "noop"
          ]
        ]
      ]
    ]
  ]
};

/***/ })

});